package com.dushibao.utils;

import lombok.Data;

@Data
public class PageRequest {

    //默认第一页
    private Integer current = 1;

    //起始页
    private Integer start;

    //默认每页10条
    private Integer pageSize = 10;

    //代表父菜单标识
    private String op;

    //代表子菜单标识
    private String opc;

    public Integer getStart() {
        return (current - 1) * pageSize;
    }
}
